/*--RESET CSS--*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}
/* remember to define focus styles! */
:focus {
	outline: 0;
}
body {

	font-family: georgia, arial, helvetica, sans-serif;
	font-size: 62.5%;
	line-height: 1.5em;
	background: url(../images/body_bg.jpg);
	
}
ol, ul {
	list-style: none;
}
a{
	text-decoration: none;
}

:focus{
	outline: 0;
}
a img{
	border: none;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	text-align: left;
	font-weight: normal;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}
/*--END RESET--*/

/*--MAIN SETTING--*/

#page-wrap{
	width: 900px;
	margin: 0 auto;
}

#top-page{
	height: 42px;
	overflow: hidden;
}

#top-page div.search{
	float: right;
	margin: 9px 0px 0px 0px;
}

input#s{
	border: none;
	font-size: 1.1em;
	color: #a4a4a4;
	padding: 0px 0px 5px 5px;
	width: 223px; height: 23px; /*lấy theo size ảnh search.jpg*/
	/**/background: transparent url(../images/search.jpg) no-repeat;
	/*----background:#f4f4f4 url(../img/bg.gif) repeat top left;----*/
}

/*---BANNER---*/
#banner{
	width: 900px;
	height: 242px;
	position: relative;
	background: url(../images/banner.png) no-repeat;
}

#banner h1 a{
	display: block;
	width: 160px; height: 55px;
	text-indent: -99999px;
	position: absolute;
	top: 87px ; left: 48px;
	background: url(../images/logo.png) no-repeat;
}

/*---MAIN-CONTENT---*/
#main-content{
	overflow: auto;
	margin: -26px 0px 150px 0px; /*căn hình tam giác dưới logo , -26 px làm cho hình tam giác phía trên box menu có effect trong suốt*/
}

#main-content #sidebar{
	width: 255px;
	float: left;
	min-height: 400px;
	background: url(../images/sidebar-bg.jpg) no-repeat;
}

#main-content #primary{
	width: 640px;
	float: right;
	margin-left: 5px; /*khoảng cách rãnh nhỏ giữa các box*/
	background: url(../images/post_bg.jpg) no-repeat;
}

/*---SIDEBAR---*/
#sidebar div#mainNav{
	padding: 55px 25px 0px 25px;
}

#sidebar div#mainNav ul{
	font-size: 1.2em;
	list-style: none;
}

#sidebar div#mainNav ul li{
	padding: 8px 0px 8px 0px;
	background: url(../images/saperators.jpg) repeat-x;
	background-position: bottom center;
}

#sidebar div#mainNav ul li a{
	color: white;
	font-weight: bold;
	padding: 5px 11px;
	background: url(../images/bullets.png) no-repeat 0 50%;
}

#sidebar div#mainNav li a:hover{
	color:  #a9ff00;
	text-decoration: none;
}

#sidebar div#mainNav ul li:last-child{
	background: none;
}

#sidebar div#loginForm{
	color: #a9ff00;
	font-size: 1.5em;
	font-weight: bold;
	padding: 55px 25px 0px 25px;
	text-decoration: none;
}

#sidebar div#loginForm h1{
	font-size: 1.5em;
	font: lighter;
	border
}

#loginForm form input[type="text"]{
	border-radius: 3px;
	box-shadow: 0 1px 0 #fff, 0 -2px 5px rgba(0,0,0,0.08) inset;
	transition: all 0.5s ease;
	background: #eae7e7 url(../images/user.png) no-repeat;
	border: 1px solid #c8c8c8;
	color: #777;
	font: 14px Helvetica, Arial, sans-serif;
	margin: 23px 10px 13px;
	padding: 0px 10px 12px 40px;
	width: 150px;
}
#loginForm form input[type="password"] {
	border-radius: 3px;
	box-shadow: 0 1px 0 #fff, 0 -2px 5px rgba(0,0,0,0.08) inset;
	transition: all 0.5s ease;
	background: #eae7e7 url(../images/pass.png) no-repeat;
	border: 1px solid #c8c8c8;
	color: #777;
	font: 14px Helvetica, Arial, sans-serif;
	margin: 5px 10px 23px;
	padding: 0px 10px 12px 40px;
	width: 150px;
}
#loginForm form input[type="text"]:focus,
#loginForm form input[type="password"]:focus {
	box-shadow: 0 0 2px #ed1c24 inset;
	background-color: #fff;
	border: 1px solid #ed1c24;
	outline: none;
}

#loginForm form input[type="checkbox"] {
margin: 3px 3px 3px 4px;
margin-top: 3px;
margin-right: 3px;
margin-bottom: 3px;
margin-left: 11px;
}

#loginForm { background-position: 10px 10px !important }
#loginForm { background-position: 10px -53px !important }

.button input[type="submit"]{
    display: inline-block;
    text-decoration: none;
    font: bold 12px/12px HelveticaNeue, Arial;
    padding: 10px 46px;
    color: #444444;
    border: 1px solid #dedede;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 15px;
    margin-left: 63px;
    margin: 17px
}

.button.green input[type="submit"]{
    background: #b7d770;
    filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#cae285', endColorstr='#9fcb57'); /*  IE */
    background: -webkit-gradient(linear, left top, left bottom, from(#cae285), to(#9fcb57)); /*  WebKit */
    background: -moz-linear-gradient(top,  #cae285, #9fcb57);
    border-color: #adc671 #98b65b #87aa4a;
    color: #5d7731;
    text-shadow: 0 1px 0 #cfe5a4;
    -webkit-box-shadow: 0 1px 1px #d3d3d3, inset 0 1px 0 #d7e9a4;
    -moz-box-shadow: 0 1px 1px #d3d3d3, inset 0 1px 0 #d7e9a4;
    box-shadow: 0 1px 1px #d3d3d3, inset 0 1px 0 #d7e9a4;    
}
.button.green:hover{
    background: #b9d972;
    filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#b8d872', endColorstr='#b9d972'); /*  IE */
    background: -webkit-gradient(linear, left top, left bottom, from(#b8d872), to(#b9d972)); /*  WebKit */
    background: -moz-linear-gradient(top,  #b8d872, #b9d972);
    border-color: #8bb14d #83a648 #7d9e45;
    text-shadow: 0 1px 0 #d5e8aa;
    -webkit-box-shadow: 0 1px 1px #d5d5d5, inset 0 1px 0 #cae295;
    -moz-box-shadow: 0 1px 1px #d5d5d5, inset 0 1px 0 #cae295;
    box-shadow: 0 1px 1px #d5d5d5, inset 0 1px 0 #cae295;    
}

/*----POST AREA----*/
#primary div.post-item{
	color: #f1f1f1;
	font-size: 1.1em;
	line-height: 1.6em;
	padding: 25px;
	overflow: hidden;
	background: url(../images/post-saperator.jpg) no-repeat;
	background-position: bottom center;
}

#primary div.post-item div.metadata{
	float: left;
	margin-right: 25px;
}

#primary div.post-item div.metadata img{
	padding: 4px;
	background:  #f1f1f1;
	margin:  0px 0px 22px 0px;
}

#primary div.post-item div.metadata p{
	float-size: 1.0em;
}

#primary div.post-item div.metadata p.post{
	padding-left: 18px;
	background: url(../images/post.png) no-repeat 0 50%;
}

#primary div.post-item div.metadata p.date{
	padding-left: 18px;
	background: url(../images/date.png) no-repeat 0 50%;
}

#primary div.post-item div.metadata p.comments{
	padding-left: 18px;
	background: url(../images/comments.png) no-repeat 0 50%;
}

#primary div.post-item div.metadata a{
	color:  #f1f1f1;
}

#primary div.post-item div.metadata a:hover{
	text-decoration: underline;
}

#primary div.post-item div.metadata p strong{
	color: #a9ff00;
}

#primary div.post-item h1{
	margin-bottom: 10px;
	font-size: 1.6em;
}

#primary div.post-item h1 a{
	color: #a9ff00;
	text-decoration: none;;
}

#primary div.post-item h1 a:hover{
	color: #f1f1f1;
	border-bottom: 1px dotted #f1f1f1;
}

#primary div.post-item div.readMore{
	margin-top: 25px;
}

#primary div.post-item div.readMore a{
	color: #a9ff00;
	padding-left:  20px;	
	background: url(../images/read-more.png) no-repeat 0 50%;
}

#primary div.post-item div.readMore a:hover{
	color: #f1f1f1;
	background: url(../images/read-more.png) no-repeat 4px 50%;
}

#post-item h1 img{
	margin-left: 15px
}
.control-group{
	font-size: 1.4em;
	font-style: arial;
}
/*----FOOTER-----*/
#footer{
	overflow: hidden;
	background: url(../images/footer_bg.jpg) no-repeat top center;
}

#footer div#footerNav{
	padding: 10px 15px;
	overflow: hidden;
	background: url(../images/saperators.jpg) repeat-x;
	background-position: bottom center;
}

#footer div#footerNav p.copyright{
	float: left;
	color: #f1f1f1;
	font-size: 1.1em; 
}

#footer div#footerNav ul{
	list-style: none;
	float: right;
}

#footer div#footerNav ul li{
	float: left;
	padding-right: 15px;
}

#footer div#footerNav li a{
	color: #f1f1f1;
	font-size: 1.1em;
	font-weight: bold;
}

#footer div#footerNav ul a:hover{
	color: #a9ff00;
	border-bottom: 2px solid #f1f1f1;
}

#footer div#footerInfo img{
	float: left;
	margin: 5px 0px 0px 0px;
}

#footer div#footerInfo div.rules{
	color: #f1f1f1;
	font-size: 1.2em;
	line-height: 1.5em;
	margin: 15px 5px 20px 0px;
	width: 675px; height: 275px;
	float: left;
	background: url(../images/bubble.png) no-repeat;
}

#footer div#footerInfo div.rules a{
	color: #a9ff00;
	text-decoration: underline;
}

#footer div#footerInfo div.rules a:hover, #footer div#footerInfo div.rules a:active{
	color: #a9ff00;
	text-decoration: none;
} 

#footer div#footerInfo div.rules div.inside{
	padding: 25px 5px 0px 80px;
}

#footer div#footerInfo div.rules ol{
	margin: 10px 0px 10px 30px;
}

